package ar.edu.utn.frba.dds.aterrizar.domain.fechas;

import java.text.SimpleDateFormat;
import java.util.Date;


public class Latinoamericano extends Formato {
	
    public SimpleDateFormat getFormato(){
    	return new SimpleDateFormat("dd/MM/yyyy");
    }

	public String parse(Date date) {
		String[] dateWords = getDateWords(date);
		return dateWords[2] + "/" + dateWords[1] + "/" + dateWords[5];
	}
	
}